<template>
  <div class="school">
    <h2>学校名称：{{ schoolName }}</h2>
    <h2>学校地址：{{ schoolAddress }}</h2>
  </div>
</template>

<script>
export default {
  name: "School",
  //data在组件里是函数
  data() {
    return {
      schoolName: "123",
      schoolAddress: "456",
    };
  },
};
</script>

<style>
.school {
  background-color: aqua;
}
</style>
